package com.ruoyi.common.exception;

/**
 * @className: UserLockedException
 * @Description: TODO
 * @version: v1.８.0
 * @author: 李明
 * @date: 2025/10/21 8:15
 */
public class UserLockedException extends RuntimeException{

    private Integer code;
    private String message;

    public UserLockedException(Integer code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }

    // getter 和 setter 方法
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
